f1c16788b3baab95ba35e32dc9954ad112b5eb83,src/in/sivareddy/graphparser/parsing/GroundedGraphs.java,GroundedGraphs,getBagOfWordsUngroundedGraph,#JsonObject#,495
Before Change
String countVar = "0:x";
newParse.add(String.format("QUESTION(%s)", countVar));
newParse.add(String.format("COUNT(%s , %s)", questionVar, countVar));
buildUngroundeGraphFromSemanticParse(newParse, leaves, 0.0, graphs);
}
}
After Change
createCountStyledSemanticParse(jsonSentence, parse);
if (countStyledParse != null) {
buildUngroundeGraphFromSemanticParse(countStyledParse, leaves, 0.0,
graphs);
}
// Add ungrounded graph features.